﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataEntity
{
    /// <summary>
    /// CFH实体类
    /// </summary>
    [Serializable]
    public class CFGEntity
    {

        #region 类属性



        /// <summary>
        /// CFG
        /// </summary>
        public List<CFGItem> CFG
            { get; set; }

           

            #endregion

            #region 构造函数

            public CFGEntity()
            {
            }

            #endregion

        
    }
    /// <summary>
    /// CFH子实体类
    /// </summary>
    [Serializable]
    public class CFGItem
    {

        #region 类属性



        /// <summary>
        /// name
        /// </summary>
        public string name
        { get; set; }
        /// <summary>
        /// type
        /// </summary>
        public string type
        { get; set; }

        /// <summary>
        /// menu
        /// </summary>
        public string menu
        { get; set; }

        /// <summary>
        /// value
        /// </summary>
        public string value
        { get; set; }



        #endregion

        #region 构造函数

        public CFGItem()
        {
        }

        #endregion


    }
    /// <summary>
    /// CFG
    /// </summary>
    [Serializable]
    public class CFGView
    {

        #region 类属性
        string _name = "";

        List<CFGView> _children = new List<CFGView>();
        /// <summary>
        /// name
        /// </summary>
        public string name
        { get { return _name; }
            set { _name = value; } }
        /// <summary>
        /// type
        /// </summary>
        public List<CFGView> children
        {
            get { return _children; }
            set { _children = value; }
        }

        /// <summary>
        /// menu
        /// </summary>
        public CFGItem model
        { get; set; }

      



        #endregion

        #region 构造函数

        public CFGView()
        {
        }

        #endregion


    }
}
